package cn.wgx.modules.sys.web;

import cn.wgx.commons.annotation.ApiPermission;
import cn.wgx.commons.util.Validation;
import cn.wgx.modules.base.web.BaseController;
import cn.wgx.modules.sys.entity.SysUser;
import cn.wgx.modules.sys.entity.SysUserCv;
import cn.wgx.modules.sys.entity.form.FormUserCV;
import cn.wgx.modules.sys.services.SysUserCvService;
import cn.wgx.modules.sys.util.UserUtil;
import com.alibaba.fastjson.JSON;
import com.github.pagehelper.PageHelper;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.Map;

@Api(tags = "2.1 用户简历")
@RestController
@RequestMapping(path = "api/sysUserCv")
public class SysUserCvController extends BaseController{


    @Resource
    SysUserCvService service;

    @ApiOperation(value = "列表", notes = "" )
    @ApiPermission
    @RequestMapping(path = "list", method = RequestMethod.GET)
    public Map<String, Object> getList(
            @ModelAttribute SysUserCv record, 
			@RequestParam(value = "page", required = false, defaultValue = "1")Integer page,
			@RequestParam(value = "pageSize", required = false, defaultValue = "20")Integer pageSize,
            @ApiParam(value = "是否倒序,默认是")@RequestParam(defaultValue = "true", required = false)Boolean desc
        ) {
		return returnData(PageHelper.startPage(page, Math.min(Math.abs(pageSize), maxPageSize)), service.getList(record, desc));
    }

	
    @ApiOperation(value = "获取个人简历", notes = "必须参数: user_id" )
    @ApiPermission
	@RequestMapping(path = "get/{user_id}", method = RequestMethod.GET)
    public Map<String, Object> getOne(@PathVariable Integer user_id) {
        if(!Validation.isNotNullOrZero(user_id)){
            return returnErrorMap("参数错误:user_id");
        }
        SysUser user = UserUtil.getUserById(user_id);
        if(user != null){
            Map<String, Object> stringObjectMap = returnData(service.getOne(user_id));
            stringObjectMap.put("user", user);
            return stringObjectMap;
        }
        return returnErrorMap("can not find");
    }

	
    @ApiOperation(value = "新建", notes = "必须参数: user_id; 可选参数: CV_ProfessionalSkill(软件技能),CV_GoodAt(擅长领域), cv_Certificate(证书),CV_WorkExperience, " +
            "CV_Honor(个人荣誉), CV_Education(教育经历), CV_ProjectExperience(项目经验[作品]), CV_Certificate(证书), selfEvaluate(自我介绍) " )
    @ApiPermission
    @RequestMapping(path = "add", method = RequestMethod.POST)
    public Map<String, Object> insertOne(@RequestBody FormUserCV record) {
        if(record == null){
            return returnErrorMap("参数错误");
        }
        SysUser user = UserUtil.getUser();
        SysUserCv one = service.getOne(user.getUser_id());
        if(one != null){
            return returnErrorMap("已经有简历,不可再创建");
        }
        record.setUser_id(user.getUser_id());
        return returnData(service.insertOne(convert(record)));
    }

	
    @ApiOperation(value = "修改", notes = "只能修改自己的" )
    @ApiPermission
    @RequestMapping(path = "update", method = RequestMethod.PATCH)
    public Map<String, Object> updateOne(@RequestBody FormUserCV record) {
        if(record == null){
            return returnErrorMap("参数错误");
        }
        SysUser user = UserUtil.getUser();
        SysUserCv one = service.getOne(user.getUser_id());
        if(one == null){
            record.setUser_id(user.getUser_id());
            return returnData(service.insertOne(convert(record)));
//            return returnErrorMap("已经有简历,不可再创建");
        }
        return returnData(service.updateOne(convert(record)));

    }


//    @ApiOperation(value = "删除", notes = "" )
//    @ApiPermission
//    @RequestMapping(path = "del/{id}", method = RequestMethod.DELETE)
//    public Map<String, Object> deleteOne(@PathVariable("id") Integer id) {
//        return returnData(service.deleteOne(id));
//    }

    /**
     * form对象转换成数据库对象
     * @param formUserCV
     * @return
     */
	public SysUserCv convert(FormUserCV formUserCV){
        SysUserCv sysUserCv = new SysUserCv();

        sysUserCv.setUser_id(formUserCV.getUser_id());

        if(formUserCV.getCV_ProfessionalSkill() != null){
            sysUserCv.setProfessionalSkill(JSON.toJSONString(formUserCV.getCV_ProfessionalSkill()));
        }
        if(formUserCV.getCV_GoodAt() != null ){
            sysUserCv.setGoodAt(JSON.toJSONString(formUserCV.getCV_GoodAt()));
        }

        if(formUserCV.getCV_WorkExperience() != null){
            sysUserCv.setWorkExperience(JSON.toJSONString(formUserCV.getCV_WorkExperience()));
        }

        if(formUserCV.getCV_Honor() != null){
            sysUserCv.setHonor(JSON.toJSONString(formUserCV.getCV_Honor()));
        }
        if(formUserCV.getCV_Education() != null){
            sysUserCv.setEducation(JSON.toJSONString(formUserCV.getCV_Education()));
        }

        if(formUserCV.getCV_ProjectExperience() != null){
            sysUserCv.setProjectExperience(JSON.toJSONString(formUserCV.getCV_ProjectExperience()));
        }
        if(formUserCV.getCV_Certificate() != null){
            sysUserCv.setCertificate(JSON.toJSONString(formUserCV.getCV_Certificate()));
        }
        if(formUserCV.getSelfEvaluate() != null){
            sysUserCv.setSelfEvaluate(JSON.toJSONString(formUserCV.getSelfEvaluate()));
        }

        return sysUserCv;
    }


    private String per = "{\"code\":200,\"data\":{\"PasteResumeText\":[],\"UploadResumeFile\":[],\"ProjectExperience\":[{\"proExpStartDateFormat\":\"2015/05/01 00:00:00\",\"proExpProjectName\":\"党办在线答题\",\"affiliatedCompany\":\"\",\"proExpEndDate\":1464710400000,\"proExpStartDate\":1430409600000,\"proExpSoftwareEnv\":\"\",\"proExpProjectDesc\":\"全省地税机关人员每日答题.\\r\\n微信端，PC端在线答题；\\r\\n后台预录入题目，每日自动更新题目；\\r\\n后台统计答题情况。\",\"proExpProjectDuty\":\"独立完成.\",\"proExpPosition\":\"\",\"path\":\"Resume[1].ProjectExperience[5]\",\"proExpEndDateFormat\":\"2016/06/01 00:00:00\",\"proExpIsIt\":\"\",\"proExpHardwareEnv\":\"\",\"proExpDevTool\":\"\"},{\"proExpStartDateFormat\":\"2015/03/01 00:00:00\",\"proExpProjectName\":\"纳税服务微信平台\",\"affiliatedCompany\":\"\",\"proExpEndDate\":1464710400000,\"proExpStartDate\":1425139200000,\"proExpSoftwareEnv\":\"\",\"proExpProjectDesc\":\"山西地税局纳税服务提供的微信服务平台，主要是一些新闻发布模块，发票查询，纳税基础问答（机器人回答），留言板，办税地图（根据坐标连接百度地图）。\\r\\n运营期间还有一些小程序，包括投票系统，答题系统，需解决大量瞬发访问。\",\"proExpProjectDuty\":\"独立完成.\",\"proExpPosition\":\"\",\"path\":\"Resume[1].ProjectExperience[4]\",\"proExpEndDateFormat\":\"2016/06/01 00:00:00\",\"proExpIsIt\":\"\",\"proExpHardwareEnv\":\"\",\"proExpDevTool\":\"\"},{\"proExpStartDateFormat\":\"2014/02/01 00:00:00\",\"proExpProjectName\":\"忻州地税征收科风险防控系统\",\"affiliatedCompany\":\"\",\"proExpEndDate\":1401552000000,\"proExpStartDate\":1391184000000,\"proExpSoftwareEnv\":\"\",\"proExpProjectDesc\":\"由忻州地税市局从金三系统导出未纳税企业信息，上传至本系统，由系统自动分发至各地市执行人，进行任务分配，执行完毕后提交并审核。\",\"proExpProjectDuty\":\"独立完成项目,包括需求调研/分析/架构/编写/维护.\\r\\n\\r\\n验收文档相关工作.\",\"proExpPosition\":\"\",\"path\":\"Resume[1].ProjectExperience[3]\",\"proExpEndDateFormat\":\"2014/06/01 00:00:00\",\"proExpIsIt\":\"\",\"proExpHardwareEnv\":\"\",\"proExpDevTool\":\"\"},{\"proExpStartDateFormat\":\"2013/10/01 08:00:00\",\"proExpProjectName\":\"税费专户管理系统\",\"affiliatedCompany\":\"\",\"proExpEndDate\":1388534400000,\"proExpIsCurrent\":\"\",\"proExpStartDate\":1380585600000,\"proExpSoftwareEnv\":\"java+ext+sqlserver2005+windows2003\",\"proExpProjectDesc\":\"针对税收部门与银行之间的缴税和入库账目的校验数据查询记录.\",\"proExpProjectDuty\":\"负责整个项目的计划及实施.\",\"proExpPosition\":\"\",\"path\":\"Resume[1].ProjectExperience[0]\",\"proExpEndDateFormat\":\"2014/01/01 08:00:00\",\"proExpIsIt\":\"y\",\"proExpHardwareEnv\":\"笔记本\",\"proExpDevTool\":\"eclipse+sqlserver2005\"},{\"proExpStartDateFormat\":\"2012/02/01 08:00:00\",\"proExpProjectName\":\"煤炭可持续发展基金征收管理系统\",\"affiliatedCompany\":\"\",\"proExpEndDate\":1359676800000,\"proExpIsCurrent\":\"\",\"proExpStartDate\":1328054400000,\"proExpSoftwareEnv\":\"java+ext+oracle+sqlserver2005+linux+windows2003\",\"proExpProjectDesc\":\"针对山西煤炭基金征收所开发一套开票征税程序.\",\"proExpProjectDuty\":\"负责若干模块的前后台代码开发.\",\"proExpPosition\":\"\",\"path\":\"Resume[1].ProjectExperience[1]\",\"proExpEndDateFormat\":\"2013/02/01 08:00:00\",\"proExpIsIt\":\"y\",\"proExpHardwareEnv\":\"笔记本\",\"proExpDevTool\":\"eclipse\"},{\"proExpStartDateFormat\":\"2012/02/01 08:00:00\",\"proExpProjectName\":\"房地产税务征收\",\"affiliatedCompany\":\"\",\"proExpEndDate\":1338508800000,\"proExpIsCurrent\":\"\",\"proExpStartDate\":1328054400000,\"proExpSoftwareEnv\":\"java+jsp+sqlserver2005+windows2003\",\"proExpProjectDesc\":\"在税务局内部一个方便管理房产税纳税情况的工具.\",\"proExpProjectDuty\":\"负责整个项目的计划与代码实施.\",\"proExpPosition\":\"\",\"path\":\"Resume[1].ProjectExperience[2]\",\"proExpEndDateFormat\":\"2012/06/01 08:00:00\",\"proExpIsIt\":\"y\",\"proExpHardwareEnv\":\"笔记本\",\"proExpDevTool\":\"eclipse\"},{\"proExpStartDateFormat\":\"2010/05/01 00:00:00\",\"proExpProjectName\":\"移动机房巡检计划任务\",\"affiliatedCompany\":\"\",\"proExpEndDate\":1277913600000,\"proExpStartDate\":1272643200000,\"proExpSoftwareEnv\":\"\",\"proExpProjectDesc\":\"SSH/JQuery/html/AJAX/SQLServer搭建的环境\\r\\n提供移动公司机房巡检计划,按日打卡,并做文字记录,采用日历的方式展现界面.\\r\\n本模块使用大量JS脚本与JQuery结合,控制日历相关操作,是本人第一个独立完成前台加后台比较全面完整的项目.\",\"proExpProjectDuty\":\"二次开发,新增模块.\",\"proExpPosition\":\"\",\"path\":\"Resume[1].ProjectExperience[6]\",\"proExpEndDateFormat\":\"2010/07/01 00:00:00\",\"proExpIsIt\":\"\",\"proExpHardwareEnv\":\"\",\"proExpDevTool\":\"\"}],\"EducationExperience\":[{\"eduBackgroundTranslation\":\"本科\",\"eduBackground\":\"4\",\"eduSchoolName\":\"山西大学\",\"eduEndDateFormat\":\"1970/01/01 08:00:00\",\"eduStartDate\":1401552000000,\"eduResearchArea\":\"\",\"eduMajorT\":\"1\",\"eduMajorV\":\"计算机软件工程(自学考试)\",\"eduEndDate\":0,\"path\":\"Resume[1].EducationExperience[0]\",\"eduDepartment\":\"\",\"eduSpecializedCourses\":\"\",\"eduFullTime\":\"n\",\"eduMinorName\":\"\",\"eduStartDateFormat\":\"2014/06/01 00:00:00\",\"eduMajorSmallType\":\"82\"},{\"eduBackgroundTranslation\":\"大专\",\"eduBackground\":\"5\",\"eduSchoolName\":\"山东英才职业技术学院\",\"eduEndDateFormat\":\"2009/06/01 08:00:00\",\"eduStartDate\":1157068800000,\"eduResearchArea\":\"\",\"eduMajorV\":\"计算机网络技术\",\"eduEndDate\":1243814400000,\"path\":\"Resume[1].EducationExperience[1]\",\"eduDepartment\":\"\",\"eduSpecializedCourses\":\"\",\"eduMinorName\":\"\",\"eduStartDateFormat\":\"2006/09/01 08:00:00\"}],\"ComPletionDegree\":[{\"path\":\"Resume[1].ComPletionDegree[0]\",\"itemsCompletion\":\"1|1|1|1|1|1|1|2|2|2|2|1|1|2|2\",\"languageId\":\"1\",\"completionStatus\":\"1\",\"totalScore\":92,\"itemsScore\":\"20|10|14|22|14|4|4|0|2|0|0|2|0|0|0\",\"trueScore\":90}],\"ResumePath\":\"Resume[1]\",\"ResumeExclusiveCompany\":\"\",\"Profile\":[{\"fullPhotoUrl\":\"http://mypics.zhaopin.cn//avatar/2018/1/19/ce2e873a-2b33-421a-a0f5-926a7a7d8110.jpg\",\"birthyear\":\"1987\",\"overseasExperience\":\"0\",\"hukouProvinceId\":\"533\",\"hukouProvinceIdTranslation\":\"山西\",\"hukouCityIdTranslation\":\"太原\",\"HasAfferentLangUserName\":true,\"userAge\":33,\"userWorkYears\":10,\"path\":\"Profile[0]\",\"currentCityDistrictId\":\"0\",\"modifyTime\":1583525436570,\"idT\":\"1\",\"idV\":\"140108198705184211\",\"politicalAffiliation\":\"6\",\"usermasterId\":119830014,\"eduHighestLevelTranslationCn\":\"本科\",\"hukouCityId\":\"576\",\"eduHighestLevelTranslation\":\"本科\",\"currentStatusTranslationEN\":\"In 1 months\",\"currentStatusTranslation\":\"在职，可一个月内到岗\",\"currentCityTranslation\":\"太原\",\"nationality\":\"489\",\"name\":\"秦川\",\"currentProvinceTranslation\":\"山西\",\"nativePlace\":\"\",\"currentProvince\":\"533\",\"maritalStatus\":\"1\",\"gender\":1,\"currentCity\":\"576\",\"monthStartWorking\":\"5\",\"yearWorkingTranslation\":10,\"eduHighestLevel\":\"4\",\"photoUrl\":\"/avatar/2018/1/19/ce2e873a-2b33-421a-a0f5-926a7a7d8110.jpg\",\"birthmonth\":\"5\",\"userIdentify\":\"-1\",\"yearStartWorking\":\"2010\",\"regType\":1,\"email\":\"31****91@qq.com\",\"eduHighestLevelTranslationEn\":\"Bachelor\",\"currentStatus\":\"2\",\"mobile\":\"1|155****6521\",\"accountNumber\":\"JR198300148\",\"emergencyNumber\":\"\",\"emailVerified\":\"2\",\"mobileBinding\":\"155****6521\",\"currentStatusTranslationCN\":\"在职，可一个月内到岗\",\"createTime\":1237918046060,\"addressCampus\":\"\",\"industryJobTypeConfirmType\":\"1\"}],\"ProfessionalSkill\":[{\"path\":\"Resume[1].ProfessionalSkill[0]\",\"proskillLevel\":\"熟练\",\"proskillType\":\"1\",\"proskillUseTime\":\"36\",\"proskillName\":\"java b/s开发,熟习使用SSH,EXT,JQuery,Oracle,SqlServer,MySql,Photoshop,MyEclipse,IDEA,Tomcat\"}],\"PracticeExperience\":[],\"UnifiedPurpose\":[{\"newPreferredJobTypeIsUnusualJobType\":\"1\",\"pnewPreferredJobType\":\"9000300010000\",\"preferredJobNature\":\"2\",\"preferredJobNatureTranslation\":\"全职\",\"preferredCityDistrict\":\"576\",\"preferredLocationFirstTranslation\":\"太原\",\"preferredLocation\":\"576\",\"pnewPreferredIndustry\":\"100050000,100120000,100140000,100030000\",\"path\":\"NewPurpose2[0]\",\"preferredCityDistrictFirstTranslation\":\"太原\",\"pnewPreferredJobTypeTranslation\":\".NET\",\"preferredSalaryTranslation\":\"8001-10000元/月\",\"pnewPreferredJobTypeOriginal\":\"9000300000000\",\"preferredLocationTranslation\":\"太原\",\"pnewPreferredJobTypeFirstTranslation\":\"软件研发\",\"preferredIsShowSalary\":\"0\",\"lang\":1,\"preferredSalary\":\"0800110000\",\"pnewPreferredIndustryTranslation\":\"计算机软件,游戏,运营商/增值服务,互联网\",\"preferredCityDistrictTranslation\":\"太原\"},{\"newPreferredJobTypeIsUnusualJobType\":\"1\",\"pnewPreferredJobType\":\"9000500010000\",\"preferredJobNature\":\"2\",\"preferredJobNatureTranslation\":\"全职\",\"preferredCityDistrict\":\"576\",\"preferredLocationFirstTranslation\":\"太原\",\"preferredLocation\":\"576\",\"pnewPreferredIndustry\":\"100050000,100120000,100140000,100030000\",\"path\":\"NewPurpose2[1]\",\"preferredCityDistrictFirstTranslation\":\"太原\",\"pnewPreferredJobTypeTranslation\":\"5G\",\"preferredSalaryTranslation\":\"8001-10000元/月\",\"pnewPreferredJobTypeOriginal\":\"9000500000000\",\"preferredLocationTranslation\":\"太原\",\"pnewPreferredJobTypeFirstTranslation\":\"通信及硬件研发\",\"preferredIsShowSalary\":\"0\",\"lang\":1,\"preferredSalary\":\"0800110000\",\"pnewPreferredIndustryTranslation\":\"计算机软件,游戏,运营商/增值服务,互联网\",\"preferredCityDistrictTranslation\":\"太原\"}],\"Scholarship\":[],\"Business\":{\"workyears\":\"201005\",\"currentSalary\":\"400106000\",\"defaultLangDate\":1392005177710,\"resumeType\":0,\"createdType\":1,\"resumeName\":\"Java开发/Java程序员\",\"currentIndustry\":\"160400\",\"isEditable\":\"y\",\"resumeId\":138462063,\"currentJobType\":\"160000\",\"resumeNumber\":\"JR198300148R90250000000\",\"resumeSourceId\":0,\"highpin_resume_id\":0,\"refreshDate\":1524310379000,\"disclosureLevel\":1,\"cnFirstCompletedDate\":1263595545060,\"createdUserId\":119830014,\"currentEducation\":\"4\",\"resumeZpSourceId\":0,\"usermasterId\":119830014,\"autoRefreshDate\":1525768533000,\"cnCompleted\":\"11092\",\"isRefresh\":\"y\",\"createdDate\":1263566745060,\"modifiedUserId\":119830014,\"modifiedDate\":1525768726324,\"treePath\":\"Resume[1]\",\"defaultLang\":1},\"WorkExperience\":[{\"startDateFormat\":\"2010/05/01 00:00:00\",\"wnewJobType\":\"9000300000000\",\"endDate\":0,\"companyName\":\"山西创明科技有限责任公司\",\"jobTitle\":\"JAVA软件工程师\",\"industry\":\"160400\",\"wnewJobTypeTranslation\":\"软件研发\",\"salary\":\"0400106000\",\"workDesc\":\"Java程序开发、二次开发，项目部署上线／迁移，数据库运维（SQLServer,Oracle）；\\r\\n使用相关技术: ssh/mybatis/extjs/jquery/html/css/ajax\\r\\n使用相关工具: SQLServer/Oracle/Tomcat/Apache;\\r\\nIDE: MyEclipse / IDEA / MAVEN\\r\\n\\r\\n项目投标文档编写，验收文档编写，项目汇报演示。\\r\\n\\r\\n主要开发项目:\\r\\n<移动机房巡检计划任务>\\r\\n<房地产税务征收>\\r\\n<煤炭可持续发展基金征收管理系统>\\r\\n<工商税务管户比对系统>\\r\\n<税费专户管理系统>\\r\\n<党办在线答题>\\r\\n<纳税服务微信平台>\\r\\n<忻州地税征收科风险防控系统>\\r\\n\\r\\n个人也在不断的学习尝试新的知识,做项目时可独立解决问题,通过搜索引擎寻找发现答案.\\r\\n\",\"path\":\"Resume[1].WorkExperience[0]\",\"workRefRelation\":\"\",\"wnewIndustry\":\"100050000\",\"companyNature\":\"5\",\"industryTranslation\":\"计算机软件\",\"realSalary\":0,\"department\":\"软件开发部\",\"jobType\":\"160000\",\"wnewIndustryTranslation\":\"计算机软件\",\"workRefCompany\":\"\",\"skillTags\":\"\",\"workRefPosition\":\"\",\"wnewJobSubTypeTranslation\":\"软件工程师\",\"index\":0,\"companySize\":\"1\",\"endDateFormat\":\"1970/01/01 08:00:00\",\"workRefName\":\"\",\"salaryTranslation\":\"4001-6000元/月\",\"workRefContact\":\"\",\"wnewJobSubType\":\"9000300230000\",\"workYear\":0,\"jobSubType\":\"045\",\"startDate\":1272643200000},{\"startDateFormat\":\"2005/07/01 00:00:00\",\"wnewJobType\":\"9000500000000\",\"endDate\":1125504000000,\"companyName\":\"太原海银通责任有限公司\",\"jobTitle\":\"技术员\",\"industry\":\"160200\",\"wnewJobTypeTranslation\":\"通信及硬件研发\",\"salary\":\"0100002000\",\"workDesc\":\"银行视频监控系统安装与维护.\\r\\n\\r\\n高中毕业暑假期间打工.\",\"path\":\"Resume[1].WorkExperience[1]\",\"workRefRelation\":\"\",\"wnewIndustry\":\"100060000\",\"companyNature\":\"5\",\"industryTranslation\":\"计算机硬件\",\"realSalary\":0,\"department\":\"技术部\",\"jobType\":\"160300\",\"wnewIndustryTranslation\":\"计算机硬件\",\"workRefCompany\":\"\",\"skillTags\":\"\",\"workRefPosition\":\"\",\"wnewJobSubTypeTranslation\":\"硬件工程师\",\"index\":1,\"companySize\":\"1\",\"endDateFormat\":\"2005/09/01 00:00:00\",\"workRefName\":\"\",\"salaryTranslation\":\"1000-2000元/月\",\"workRefContact\":\"\",\"wnewJobSubType\":\"9000500460000\",\"workYear\":0,\"jobSubType\":\"43\",\"startDate\":1120147200000}],\"Attach\":[],\"LanguageSkill\":[{\"path\":\"Resume[1].LanguageSkill[0]\",\"langLSProficiency\":\"一般\",\"langLanguageT\":\"英语\",\"langRWProficiency\":\"一般\"}],\"CampusActivities\":[],\"Purpose\":[{\"preferredJobType\":\"160000,5001000\",\"preferredIndustry\":\"160600,160400,210500,160100\",\"pnewPreferredJobType\":\"9000300000000,9000500000000\",\"preferredJobNature\":\"2\",\"preferredJobNatureTranslation\":\"全职\",\"preferredCityDistrict\":\"576\",\"preferredLocationFirstTranslation\":\"太原\",\"preferredIndustryTranslation\":\"网络游戏,计算机软件,互联网/电子商务,通信/电信运营、增值服务\",\"path\":\"Resume[1].Purpose[0]\",\"preferredJobTypeTranslation\":\"软件/互联网开发/系统集成,电信/通信技术开发及应用\",\"pnewPreferredJobTypeTranslation\":\"软件研发,通信及硬件研发\",\"preferredSalaryTranslation\":\"8001-10000元/月\",\"preferredLocationTranslation\":\"太原\",\"preferredIsShowSalary\":\"0\",\"dutyTimeFormat\":\"1970/01/01 08:00:00\",\"lang\":1,\"preferredJobTypeFirstTranslation\":\"软件/互联网开发/系统集成\",\"currentStatus\":\"2\",\"currentStatusTranslation\":\"在职，可一个月内到岗\",\"preferredLocation\":\"576\",\"pnewPreferredIndustry\":\"100050000,100120000,100140000,100030000\",\"dutyTime\":0,\"preferredCityDistrictFirstTranslation\":\"太原\",\"pnewPreferredJobTypeFirstTranslation\":\"软件研发\",\"preferredSalary\":\"0800110000\",\"pnewPreferredIndustryTranslation\":\"计算机软件,游戏,运营商/增值服务,互联网\",\"preferredCityDistrictTranslation\":\"太原\"}],\"TrainExperience\":[{\"trainEndDate\":1267401600000,\"path\":\"Resume[1].TrainExperience[0]\",\"trainAddress\":\"\",\"trainStartDateFormat\":\"2009/05/01 08:00:00\",\"trainEndDateFormat\":\"2010/03/01 08:00:00\",\"trainCourse\":\"web页面设计/flash/div+css/            java/asp.net/c#/sqlserver2005\",\"trainDesc\":\"\\r\\n\\r\\n 熟悉利用java/jsp/servlet开发中小型网站系统\\r\\n 熟悉SQLServer/MySQL 数据库使用\\r\\n 熟悉struts/hibernate/spring框架使用.\\r\\n 熟练使用Tomcat搭建jsp应用环境\\r\\n 熟悉MyEclipse开发工具的使用\\r\\n 熟悉JUnit单元测试\\r\\n 了解Java常用设计模式,例如:动态代理/工厂单例/AOP\\r\\n 熟练使用PS/Dreamweaver/flash开发工具开发网站前台界面\\r\\n 熟悉html/css/javascript/ajax语言开发前台界面\\r\\n 比较熟悉.net开发及开发工具的使用\\r\\n 开发过BBS、商城等B/S程序\\r\\n BBS是由JSP+Servlet+MySQL+Tomcat组合搭建,\\r\\n    实现注册,发帖,管理帖子,置顶等基本功能.\\r\\n 商城由Struts2+Hibernate+MySQL+Tomcat组合搭建,\\r\\n    实现购物分类,添加商品至购物车, 并利用AJAX制作人性化操作购物车等效果.\\r\\n    后台实现管理员登录管理 - 商品分类/商品信息/用户信息/订单信息\",\"trainStartDate\":1241136000000,\"trainCertificate\":\"\",\"trainAgency\":\"上海威迅软件教育(太原分部)\"}],\"EnglishSkill\":[],\"ManagementExperience\":[],\"Award\":[],\"SelfEvaluate\":[{\"path\":\"Resume[1].SelfEvaluate[0]\",\"selfEvaContent\":\"      本人从小喜爱计算机,对计算机各领域有无限的热情及探索精神,高中时喜欢研究一些黑科技,大学之后才正式学习编程知识.\\r\\n      现已从事Java开发工作多年,已掌握比较丰富的开发技术,也一直在不断的学习新的知识,提高自我职业能力,希望可以加入正规的软件公司就职.\",\"selfEvaTitle\":\"职业目标\",\"selfEvaUserdefTitle\":\"\"}],\"FamilyRelation\":[],\"Certificate\":[],\"Other\":[],\"EnglishCertificate\":[]}}";


}